<script type="text/javascript" src="__PUBLIC__/admin/js/kindeditor/kindeditor.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/kindeditor/lang/zh_CN.js"></script>
<script type="text/javascript">
function submitForm(action) {
    $(".submit").click(function(){
        if ("" == $.trim($("#cid").val())) {
            popup.error("说明不能为空");
            return false;
        }
        if ("" == $.trim($("#eid").val())) {
            popup.error("调用标识不能为空");
            return false;
        }

        var url = ('create' == action) ? "{:U('create')}" : "{:U('update')}";


        commonAjaxSubmit(url);
        return false;
    });
}
</script>
